package com.aaa.service;

import com.aaa.entity.Notice;
import com.aaa.entity.User;
import com.aaa.vo.NoticeVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface NoticeService extends IService<Notice> {
    //删除
    boolean delById(Integer id);
    Result<IPage<Notice>> findByConditions(Integer currentPage, Integer pageSize, NoticeVo noticeVo);
    boolean saveAndUpdate(Notice notice);
}
